#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2025/2/2 22:19
# @Author  : Ramsey
# @Site    : zh
# @File    : items.py
# @Software: PyCharm
from spider_framework.items import Field
from spider_framework.items.items import Item


class BaiduItem(Item):
    url = Field()
    title = Field()


if __name__ == "__main__":
    bi = BaiduItem()
    bi["url"] = "https://www.baidu.com"
    bi["title"] = "百度"
    # bi.title = "谷歌"
    # bi["aaaaaaa"] = "百度"
    print(bi)
    print(bi["url"])
